#ifndef WIDGETHELPER_H
#define WIDGETHELPER_H

#include <QWidget>
#include <QComboBox>


class WidgetHelper
{
public:
    WidgetHelper();

    static bool setCurrentIndex(QComboBox* cmb, const QString& value);
    static bool setCurrentIndex(QComboBox* cmb, int value);

    static void setText(QLineEdit* edit, int value);

};

#endif // WIDGETHELPER_H
